﻿using System;
using System.Collections.Generic;
using System.Linq;

using System.Text;
using System.Threading.Tasks;

namespace ADSync.EngineComponents
{
	/// <summary>
	/// Class represents single membership change to be executed
	/// </summary>
	public class MembershipAction
	{
		#region Properties
		public String MemberDistinguishedName
		{
			get;
			set;
		}

		public Operation Action
		{
			get;
			set;
		}
		#endregion

		#region Constructors
		public MembershipAction(String MemberDistinguishedName, Operation Action)
		{
			this.MemberDistinguishedName = MemberDistinguishedName;
			this.Action = Action;
		}
		#endregion

		#region Enum
		public enum Operation
		{
			ADD,
			REM
		}
		#endregion
	}
}
